package core;

import java.io.Serializable;

public class PluginInfo implements Serializable {
	
	public PluginInfo(Plugin plugin) {
		this.name = plugin.getName();
		this.className = plugin.getClass().getCanonicalName();
		this.version = plugin.getVersion();
		this.isRunning = plugin.isRunning();
		this.description = plugin.getDescription();
	}
	
	
	public String getName() {
		return name;
	}
	
	
	public String getClassName() {
		return className;
	}

	
	public String getDescription() {
		return description;
	}


	public long getVersion() {
		return version;
	}
	
	
	public boolean isRunning() {
		return isRunning;
	}
	
	
	private String name;
	private String className;
	private String description;
	private long version;
	private boolean isRunning;
	
	private static final long serialVersionUID = 1L;
}
